package com.gagakuai.transport.channel;


/*
 * @description: 在channel 的管道数据流转过程中进行责任链处理数据
 * @author: houhong
 * @create: 2024-03-19 00:20
 */
public interface ChannelHandler {


    void handlerAdd(ChannelHandlerContext ctx);

    void handlerRemoved(ChannelHandlerContext ctx);

    void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception;
}
